package com.jar.exercise.io.文件操作;

import java.io.File;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Demo1 {
	public static void main(String[] args) {
		File f = new File("d:/");

		Date d = new Date(f.lastModified());
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		File[] s = f.listFiles();
		for (File file : s) {
			if (!file.isHidden()) {
				System.out.println("�ļ��У�" + file.getName() + "����޸ģ�" + sdf.format(d));
			}

		}

	}

}
